package org.jeecg.modules.sg.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 宿管人员表
 * @Author: jeecg-boot
 * @Date:   2022-09-28
 * @Version: V1.0
 */
@Data
@TableName("sg_person")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sg_person对象", description="宿管人员表")
public class SgPerson implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String name;
	/**人员编号*/
	@Excel(name = "人员编号", width = 15)
    @ApiModelProperty(value = "人员编号")
    private java.lang.String code;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "sex")
	@Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private java.lang.String sex;
	/**电话*/
	@Excel(name = "电话", width = 15)
    @ApiModelProperty(value = "电话")
    private java.lang.String phone;
	/**出生日期*/
	@Excel(name = "出生日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "出生日期")
    private java.util.Date birthday;
	/**身份证*/
	@Excel(name = "身份证", width = 15)
    @ApiModelProperty(value = "身份证")
    private java.lang.String idcard;
	/**年龄*/
	@Excel(name = "年龄", width = 15)
    @ApiModelProperty(value = "年龄")
    private java.lang.Integer age;
	/**家庭住址*/
	@Excel(name = "家庭住址", width = 15)
    @ApiModelProperty(value = "家庭住址")
    private java.lang.String address;
	/**所属公司*/
	@Excel(name = "所属公司", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "所属公司")
    private java.lang.String companyId;
	/**劳务公司*/
	@Excel(name = "劳务公司", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "劳务公司")
    private java.lang.String laborId;
	/**房间号*/
	@Excel(name = "房间号", width = 15, dictTable = "sg_room", dicText = "name", dicCode = "id")
	@Dict(dictTable = "sg_room", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "房间号")
    private java.lang.String roomId;
	/**床位号*/
	@Excel(name = "床位号", width = 15, dictTable = "sg_berth", dicText = "name", dicCode = "id")
	@Dict(dictTable = "sg_berth", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "床位号")
    private java.lang.String berthId;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "ryzt")
	@Dict(dicCode = "ryzt")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private java.lang.String thosedept;
	/**所属科室*/
	@Excel(name = "所属科室", width = 15)
    @ApiModelProperty(value = "所属科室")
    private java.lang.String thoseoffice;
	/**所属班组*/
	@Excel(name = "所属班组", width = 15)
    @ApiModelProperty(value = "所属班组")
    private java.lang.String thosegroup;
	/**入宿时间*/
	@Excel(name = "入宿时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "入宿时间")
    private java.util.Date inRoomDate;
    /**第一次入宿时间*/
    @Excel(name = "第一次入宿时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "第一次入宿时间")
    private java.util.Date initInRoomDate;
	/**退宿时间*/
	@Excel(name = "退宿时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "退宿时间")
    private java.util.Date outRoomDate;
	/**床卡费用*/
	@Excel(name = "床卡费用", width = 15)
    @ApiModelProperty(value = "床卡费用")
    private java.lang.Double berthCardCost;
    /**领用房卡*/
    @Excel(name = "领用房卡", width = 15 , dicCode = "recipientsRoomCard")
    @Dict(dicCode = "shzf")
    @ApiModelProperty(value = "领用房卡")
    private java.lang.String recipientsRoomCard;
    /**领用床卡*/
    @Excel(name = "领用床卡", width = 15 , dicCode = "recipientsBerthCard")
    @Dict(dicCode = "shzf")
    @ApiModelProperty(value = "领用床卡")
    private java.lang.String recipientsBerthCard;
	/**房卡费用*/
	@Excel(name = "房卡费用", width = 15)
    @ApiModelProperty(value = "房卡费用")
    private java.lang.Double roomCardCost;
	/**上个月费用*/
	@Excel(name = "上个月费用", width = 15)
    @ApiModelProperty(value = "上个月费用")
    private java.lang.Double lastMonthCost;
	/**本月费用*/
	@Excel(name = "本月费用", width = 15)
    @ApiModelProperty(value = "本月费用")
    private java.lang.Double nowMonthCost;
    /**费用承担*/
    @Excel(name = "费用承担", width = 15, dicCode = "costBearing")
    @Dict(dicCode = "cdfs")
    @ApiModelProperty(value = "费用承担")
    private java.lang.String costBearing;
	/**总费用*/
	@Excel(name = "总费用", width = 15)
    @ApiModelProperty(value = "总费用")
    private java.lang.Double allCost;
	/**入住天数*/
	@Excel(name = "入住天数", width = 15)
    @ApiModelProperty(value = "入住天数")
    private java.lang.Integer inRoomDays;
    /**调宿次数*/
    @Excel(name = "调宿次数", width = 15)
    @ApiModelProperty(value = "调宿次数")
    private java.lang.Integer changeTime;
}
